import request from "@/utils/request";

export function getExamProjectByKey(params) {
  return request({
    url: `/tduck-api/user/exam/project/details/${params.key}`,
    method: "get",
    params,
  });
}

// /user/project/result/create
export function resultCreate(data) {
  return request({
    url: `/tduck-api/user/exam/project/result/create`,
    method: "post",
    data,
  });
}
